package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangge
 * @since 2020-09-15
 */
@Data
@TableName("btya_inventory_price")
public class InventoryPrice implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 门店标识
     */
    @TableField("shop_code")
    private String shopCode;
    /**
     * 门店标识
     */
    @TableField("shop_name")
    private String shopName;

    /**
     * 品类id
     */
    @TableField("item_type_code")
    private String itemTypeCode;
    /**
     * 品类名
     */
    @TableField(exist = false)
    private String itemTypeName;

    /**
     * 品项id
     */
    @TableField("item_code")
    private String itemCode;
    /**
     * 品项id
     */
    @TableField(exist = false)
    private String itemName;

    /**
     * 定价
     */
    @TableField("price")
    private BigDecimal price;

    @TableField(exist = false)
    private Long shopTreeId;

}
